package com.jeecms.wicool.dao.shops;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.shops.ServiceUser;
/**
 * 优惠劵DAO接口
 */
public interface ServiceUserDao{
	public Pagination getPage(String serviceId,String serviceName ,int pageNo, int pageSize,CmsUser user);
	public ServiceUser findById(Integer id);
	public ServiceUser updateByUpdater(Updater<ServiceUser> updater);
	public ServiceUser save(ServiceUser bean);
	public ServiceUser deleteById(Integer id);
	public List<ServiceUser> getAll(CmsUser user);
}